<script setup>
import { reactive, ref } from 'vue'
const obj=reactive({message:'reactive的值'})
setTimeout(()=>{
   
    obj.message = '响应式数据绑定reactive的值' 
   
},2000)
</script>

<template>
    <!-- 响应式对象或数组 -->
 <div>
  <h1>{{obj.message}}</h1>
 </div>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
